package com.blackink.service.impl;

import com.blackink.mapper.PermissionMapper;
import com.blackink.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PermissionServiceImpl implements PermissionService {

    @Autowired
    PermissionMapper permissionMapper;

    @Override
    public List<String> queryPermById(Integer userId) {
        return permissionMapper.queryPermById(userId);
    }
}
